package com.zpkj.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.zpkj.service.impl.ComputerFeignService;

/**
 * Created on 2018-5-28
 */
@FeignClient(value = "TRAFFICCHAIN-MICRO-SERVICES-UC",fallback = ComputerFeignService.class)
public interface IComputerFeignService {

    @RequestMapping(value = "/add",method = RequestMethod.GET)
    public String add(@RequestParam(name="a") Integer a, @RequestParam(name="b") Integer b);
}
